<?php
namespace iBrand\Shop\Core\Models;

use iBrand\Component\Product\Models\Product;
use Illuminate\Database\Eloquent\Model;
use DB;


class BarCode extends Model
{
    protected $table = 'o2o_bar_code';

    protected $guarded = ['id'];


    public function sku()
    {
        return $this->hasOne(Product::class, 'sku', 'sku');
    }

}

